Skip to content

Agent Flow legends: function card beside the building card (#419) - #446

Merged
aMonteSl merged 1 commit into
idefrom
claude/project-thread-rk7d4h-ide
Dec 2, 2026
Merged

aMonteSl merged 1 commit into
idefrom
claude/project-thread-rk7d4h-ide

Conversation

@aMonteSl

@aMonteSl aMonteSl commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Requested by Adrián · project thread

Follow-up to #437/#442 after Adrián's manual test of story #419 (epic #319): the function card sat on top of the building card; he wants them side by side.

What

  • fillLegend lays the two cards out horizontally inside the legend wrap: building card on the left, floor (function) card on the right, bottom edges level. The wrap faces the viewer, so "right" is the viewer's right.
  • The legend records its real width; layoutLegends uses it, so a two-card legend slides sideways as a whole and never overlaps the label or the other legend.
  • Docs (legends.md, test-guide.md) and CHANGELOG updated.

Tests

  • npm test green.
  • Agent Flow harness green, with new asserts: the floor card stands to the right of the building card, both share the bottom edge, and a legend with a floor is wider than tall.

Generated by Claude Code

)

Adrián's test: with a floor pointed, the function card sat on top of the
building card. The two now stand side by side in the wrap (building left,
floor right, bottoms level), and layoutLegends uses the legend's real
width so a wide legend slides sideways as a whole.
@aMonteSl
aMonteSl merged commit 8a68647 into ide Dec 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants